<template>
  <div id="app">
    <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/about">视频+图片轮播</router-link> |
      <router-link to="/img">上传图片</router-link> |
      <router-link to="/upload">弹窗上传文件</router-link> |
      <router-link to="/time">倒计时</router-link> |
      <router-link to="/reg">表单验证+正则</router-link> |
      <router-link to="/socket">socket</router-link> |
      <router-link to="/money">钱，练习过滤器</router-link> |
      <router-link to="/next">nextTick练习</router-link> |
      <router-link to="/insertTime">时间间隔</router-link> |
      <router-link to="/twoSwiper">两行轮播</router-link> |
      <router-link to="/studyStore">学习VueX</router-link> |
    </nav>
    <router-view/>
  </div>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
